<?php 
//员工风采 ->绩优员工
get_header(); 
?>
		 <div class="AboutContent">
	 	   <div class="AboutSubmenu">
	   	    <ul>
				
				<li class="Home"><a href="<?php bloginfo('url'); ?>"><img src="<?php bloginfo('template_url'); ?>/images/homebutton.png" /></a></li>
				
                             <?php   
                            if($post->post_parent) {
                              $children = wp_list_pages("title_li=&child_of=".$post->post_parent."&echo=0");
                              $titlenamer = get_the_title($post->post_parent);
                              }
                              else {
                              $tmp_post_id = 371;		
                              $children = wp_list_pages("title_li=&child_of=".$tmp_post_id."&echo=0");
                              $titlenamer = get_the_title($tmp_post_id);
                              }
                                           ?>
                                <li class="TitleButton"><?php echo $titlenamer; ?></li>
                              <?php
                              if ($children) { ?>
                              <?php echo $children; ?>
                             <?php } ?>
				<li class="Image"><img src="<?php bloginfo('template_url'); ?>/images/culture.jpg" /></li>
			</ul>
			
			
		   </div>
		   
		   
		   <div class="contentSub">
			     <div class="titlePic">
			 		<a href="<?php bloginfo('url'); ?>"><img src="<?php bloginfo('template_url'); ?>/images/staff.jpg" /></a>
			 	 </div>
			  	 <div class="contentBody">
			  	 

							  

			  
			  <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>  
	  			  	 <div class="Expdetialpic">				  
  			  	 	<?php if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it.
  			  	 			the_post_thumbnail(array(160,150));}else{}?>
 			 		</div>
			  	<div class="Expdetialcontent">
					<div class="Expdetialcontenttitle">
						<h2><?php the_title(); ?></h2>
						<div class="Lineheight"></div>
					</div>
					<div class="Expdetialcontentsub">
					<?php the_content(); ?>
					
					</div>
					<div class="singlePageNav">					
						 <a href="<?php echo get_permalink( get_next_post('TURE')->ID ) ?>"><img src="<?php bloginfo('template_url'); ?>/images/pageup.png" /></a>	 
						 <a href="<?php echo get_permalink( get_previous_post('TURE')->ID ) ?>"><img src="<?php bloginfo('template_url'); ?>/images/pagedown.png" /></a>			 		
						 <a href="<?php echo get_permalink( 396 ) ?>"><img src="<?php bloginfo('template_url'); ?>/images/return.png" /></a>	
					</div>
				</div>
			 </div>
			  	 <?php endwhile; else: ?>

				<div class="NewsTitle">
					<div class="Title">
						<h4>链接错误</h4>
					</div>
				</div>
				
			  	<div class="contentArticle">
			  	对不起没有你要的内容
			  	</div>

				<?php endif; ?>
        
			  <div class="pageBottomPic"></div>
		   </div>
		 </div>

<?php get_footer(); ?>